/home/estudydev/workspace/eStudy_svn/web/photogallery/index.php File Reference

Go to the source code of this file.

Namespaces

namespace  eStudy::PhotoGallery

Enumerations

enum  PATH_TO_ROOT

Variables

 if (isset($_POST['startsearch']))
 if (isset($_POST['Cancel']))
 $courseadmin = getGalleryRight('admin')
if(isset($_POST['changeorder_x'])&&$courseadmin) $Tframe = new Template("templates/frame.html")
 $Tindex = new Template("templates/main.html")
 $Tboard = new Template("templates/forumrow.html")
 $lastthreads = ''
else $where = ''
 $r_category
 $a_lastvisited = array()
 $r_board
 $bbcode = new BBCode()
 $INDEXROWS = ''
 $switchicon = $courseadmin ? "<td class='tableHead' style='width:1%'>".Output::getSubmitIcon('icon_moduleswitch', 'Reihenfolge der Alben &auml;ndern!', 'changeorder') ."</td>" : ''
 $switchspan = $courseadmin ? 6 : 5
while($category=mysql_fetch_array($r_category)) $searchv = '<form action="'.PATH_TO_ROOT.SCRIPT_NAME.'" method="post">'
 $r_post = forum_query("SELECT count(postid) AS postcount FROM forum_post")
 $posts = mysql_result($r_post, 0)
 $r_thread = forum_query("SELECT count(threadid) AS threadcount FROM forum_thread")
 $threads = mysql_result($r_thread, 0)
 $newthreads = '<a href="'.build_link("search.php?startsearch=1&amp;searchfor=today") .'" title="Aktive Threads von heute">Aktive Threads von Heute anzeigen</a>'
 $servertime = 'Serverzeit: '.form_date(time(), 0) .'.'
 $navpath = 'Alben&uuml;bersicht'


Enumeration Type Documentation

relativer Pfad zum Root des Portals

Definition at line 52 of file index.php.


Variable Documentation

$a_lastvisited = array()

Definition at line 90 of file index.php.

$bbcode = new BBCode()

Definition at line 116 of file index.php.

$courseadmin = getGalleryRight('admin')

Definition at line 69 of file index.php.

$INDEXROWS = ''

Definition at line 160 of file index.php.

$lastthreads = ''

Definition at line 80 of file index.php.

$navpath = 'Alben&uuml;bersicht'

Definition at line 189 of file index.php.

$newthreads = '<a href="'.build_link("search.php?startsearch=1&amp;searchfor=today") .'" title="Aktive Threads von heute">Aktive Threads von Heute anzeigen</a>'

Definition at line 187 of file index.php.

$posts = mysql_result($r_post, 0)

Definition at line 184 of file index.php.

$r_board

Initial value:

 forum_query("SELECT boardid, boardname, boardthreads, boardposts, 
        boardlastpost, boarddescription, boardlastpostby, boardthreadtopic,
        boardthreadid, categoryid, helpdesk, boardorder, boarddisabled 
        FROM forum_board
        WHERE $disabled is_photogallery=1 AND categoryid='".$_SESSION["course"]."'
        ORDER BY boardorder ASC")

Definition at line 110 of file index.php.

$r_category

Initial value:

 forum_query("SELECT categoryid, categoryname FROM
        forum_category ".$where."ORDER BY categoryorder ASC")

Definition at line 88 of file index.php.

$r_post = forum_query("SELECT count(postid) AS postcount FROM forum_post")

Definition at line 183 of file index.php.

$r_thread = forum_query("SELECT count(threadid) AS threadcount FROM forum_thread")

Definition at line 185 of file index.php.

while ($category=mysql_fetch_array($r_category)) $searchv = '<form action="'.PATH_TO_ROOT.SCRIPT_NAME.'" method="post">'

Definition at line 182 of file index.php.

$servertime = 'Serverzeit: '.form_date(time(), 0) .'.'

Definition at line 188 of file index.php.

$switchicon = $courseadmin ? "<td class='tableHead' style='width:1%'>".Output::getSubmitIcon('icon_moduleswitch', 'Reihenfolge der Alben &auml;ndern!', 'changeorder') ."</td>" : ''

Definition at line 161 of file index.php.

$switchspan = $courseadmin ? 6 : 5

Definition at line 162 of file index.php.

$Tboard = new Template("templates/forumrow.html")

Definition at line 79 of file index.php.

if (isset($_POST['changeorder_x'])&&$courseadmin) $Tframe = new Template("templates/frame.html")

Definition at line 77 of file index.php.

$threads = mysql_result($r_thread, 0)

Definition at line 186 of file index.php.

$Tindex = new Template("templates/main.html")

Definition at line 78 of file index.php.

else $where = ''

Definition at line 86 of file index.php.

if(isset($_POST['Cancel']))

Ausgabe des HTML-Kopfes und der Menues

Definition at line 59 of file index.php.

if(isset($_POST['startsearch']))

Initialisierungsdatei (Einstellungen, Einbindung von Klassen, Session-Start)

Definition at line 53 of file index.php.


Generated on Tue Nov 3 21:42:28 2009 for eStudy Foto Forum by  doxygen 1.5.8